//
//  AnonymousCell.m
//  QoilPublic
//
//  Created by SunChao on 2018/3/1.
//  Copyright © 2018年 孙超. All rights reserved.
//

#import "AnonymousCell.h"

@interface AnonymousCell()
@property (weak, nonatomic) IBOutlet UIButton *anonymousBtn;

@end
@implementation AnonymousCell

- (IBAction)buttonAction:(UIButton *)sender {
    
    sender.selected = !sender.selected;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.anonymousBtn setImage:[UIImage imageNamed:@"2"] forState:UIControlStateNormal];
    [self.anonymousBtn setImage:[UIImage imageNamed:@"1"] forState:UIControlStateSelected];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
